package com.njtoyo.taxi.admin.mapper.master.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.DriverNotifyMessage;
import com.njtoyo.taxi.admin.rest.presenter.business.driver.notifyMessage.DetailPresenter;
import com.njtoyo.taxi.admin.rest.presenter.business.driver.notifyMessage.ListPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.driver.notifyMessage.ListWrapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 司机通知消息 Mapper 接口
 * </p>
 *
 * @author Dell
 * @since 2021-06-28
 */
@Repository
@DS(Const.PRIMARY_DS)
public interface DriverNotifyMessageMapper extends BaseMapper<DriverNotifyMessage> {
    Page<ListPresenter> getList(ListWrapper listPresenter);

    DetailPresenter getDetail(@Param("id") Long id);
}
